Component org.nuxeo.platform.TemplateSources.contentView.contrib
In bundle org.nuxeo.template.manager.jsf
Contributions
XML Source
<?xml version="1.0"?>
<component name="org.nuxeo.platform.TemplateSources.contentView.contrib">
<extension target="org.nuxeo.ecm.platform.ui.web.ContentViewService"
point="contentViews">
<contentView name="TEMPLATE_USAGE">
<title>label.template.usage</title>
<translateTitle>true</translateTitle>
<showTitle>true</showTitle>
<pageProvider name="template_based">
<property name="coreSession">#{documentManager}</property>
<parameter>#{templateActions.templateAndVersionsUUIDs}</parameter>
<parameter>#{templateActions.checkedInVersion}</parameter>
</pageProvider>
<showFilterForm>false</showFilterForm>
<showPageSizeSelector>true</showPageSizeSelector>
<useGlobalPageSize>true</useGlobalPageSize>
<refresh>
<event>documentChanged</event>
<event>documentCreated</event>
</refresh>
<cacheSize>10</cacheSize>
<cacheKey>#{currentDocument.id}-#{templateActions.showVersions}</cacheKey>
<resultLayouts>
<layout name="document_listing_table" title="document_listing"
translateTitle="true" iconPath="/icons/document_listing_icon.png"
showCSVExport="true" showSpreadsheet="true" showEditColumns="true" />
<layout name="document_listing_thumbnail" title="document_thumbnail_listing"
translateTitle="true" iconPath="/icons/document_listing_icon_2_columns_icon.png"
showSlideshow="true" showEditRows="true" />
</resultLayouts>
<selectionList>CURRENT_SELECTION</selectionList>
<actions category="CURRENT_SELECTION_LIST" />
</contentView>
</extension>
</component>